public class HelloWorld {
    public static void main( String[] args ) {
        try {
            System.out.println("Hello World!");
            for (int x = 0; x < 10; x++)
            	System.out.println(x);
            
            int y = 0;
            while (y  < 10) {
                System.out.print( y );
                if ( y % 2 == 0 ) {
                    System.out.println( " even" );
                }
                else {
                    System.out.println( " odd" );
                }
                y++;
            }
        }
        catch ( Throwable t ) {
            t.printStackTrace( System.err );
        }
    }
}

